/**
 * Created by dale on 2017/9/26.
 */
var prodsInBox;

$(document).ready(function (){
    prodsInBox= $('#prodsInBox');
    $('.xh-datagrid-toolbar').parseToolbar();
    prodsInBox.initDataGrid(baseUrl+'ims/res/getProdByBox',{queryParams:getParams()});


});

function getParams() {
    var key = xhExtra.getValue($('#list_search')),
        iBoxId  = addressUri.getParam('iBoxId');
    return {key:key,iBoxId:iBoxId};
}